package cn.gov.pbc.audit.bo;

import java.math.BigDecimal;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class LoanMultiClient implements Comparable<LoanMultiClient>{
	private BigDecimal balance;
	
	private String clientName;

	@Override
	public int compareTo(LoanMultiClient anOther) {
		return -this.balance.compareTo(anOther.getBalance());
	}
	
	
}
